//Iditarod Trail
//Amelia Bauer, Elise Eiden, Christine Gerardi, Taryn Green
//CSE 20212 2012
//textfield.h
#include <QDialog>
#include<QLabel>
#include <QLineEdit>
#include <QGridLayout>
#include <QTimer>
#include "Player.h"

#ifndef TEXTFIELD_H_
#define TEXTFIELD_H_
class MyTextField: public QDialog{

Q_OBJECT
public:
	MyTextField(Player *ply, QTimer*, QWidget *parent=0);
	void printScreen();
private:
	Player *us;
	QLabel *myLabel;			//text line prompting user for human name
	QLineEdit *mytext;			//player name
	QLabel *myLabel2;			//text line prompting user for dog names
	QLineEdit *mytext2;			//dog1 name
	QLineEdit *mytext3;			//dog2 name
	QLineEdit *mytext4;			//dog3 name
	QLabel *myLabel7;			//text line prompting user for player gender
	QLineEdit *mytext7;			//player gender
	QGridLayout *myLayout;
	QLabel *space;          //text line of /ns for formatting       
	QLabel *topspace;       //text line of spaces for formatting
	QTimer *clock;

																	
																	private slots:
	void okClicked();  //verifies if OK was clicked, and displays each mytext vairable on terminal screen
	void checkGender(); //ensures valid gender
};

#endif
